*{
    margin: 0 auto;
    max-width: 750px;
    color: white;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

// 清除浮动
.clear::after,.clear::before{
    content: "";
    display: table;
}
.clear::after{
    clear: both;
}
.clearfix{
    *zoom: 1;
}

// 回到顶部
.goback{
    display: none;
    right: .3333rem;
    bottom: 15%;
    z-index: 1000;
    position: fixed;
    cursor: pointer;
    img{
        height: .6667rem;
    }
}

// 头部
header{
    height: 1.2rem;
    width: 100%;
    background-color: black;
    position: relative;
    // 首页
    div:first-child{
        position: absolute;
        top: 50%;
        transform: translate(0,-50%);
        margin-left: .5333rem;
        span{
            font-size: .4267rem;
        }
        span:hover{
            cursor: pointer;
        }
    }
    // 更多
    div:last-child{
        position: absolute;
        right: .4667rem;
        top: 50%;
        transform: translate(0 ,-50%);
        img{
            width: .33867rem;
            height: .3467rem;
        }
        img:hover{
            cursor: pointer;
        }
    }
}

// 导航栏
.banner{
    height: 1.2rem;
    background-color: #303030;
    div{
        // 导航栏的五个选项
        ul{
            width: 100%;
            display: flex;
            margin: 0 auto;
            flex-flow: row nowrap;
            justify-content: space-around;
            li{
                text-align: center;
                flex: 0 1 2rem;
                font-size: .3467rem;
                line-height: 1.2rem;
            }
            li:hover{
                cursor: pointer;
            }
            li:hover a{
                text-decoration: none;
                color: #30dceb;
            }
        }
    }

}

//底部
footer{
    div{
        height: 1.6667rem;
        background-color: #303030;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translate(-50%);
        ul{
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            height: 100%;
            width: 100%;
            align-items: center;
            justify-content: space-around;
            li{
                display: flex;
                flex-direction: column;
                max-width: 1.3333rem;
                margin: 0;
                text-align: center;
                flex: 1;
                font-size: .2267rem;
                color: #acacac;
                img{
                    height: .5867rem;
                    margin-bottom: .1333rem;
                }
            }
            li:hover{
                cursor: pointer;
                color: #30dceb;
                #footer1{
                    content: url(../images/首页-首页\ \(1\).png);
                }
                #footer2{
                    content: url(../images/跑步\ \(1\).png);
                }
                #footer3{
                    content: url(../images/计划\ \(1\).png);
                }
                #footer4{
                    content: url(../images/我的\ \(1\).png);
                }
            }
        }
    }
}